וְחַנָּ֖ה לֹ֣א עָלָ֑תָה כִּֽי־אָמְרָ֣ה לְאִישָׁ֗הּ עַ֣ד יִגָּמֵ֤ל הַנַּ֙עַר֙ וַהֲבִאֹתִ֗יו וְנִרְאָה֙ אֶת־פְּנֵ֣י יְהוָ֔ה וְיָ֥שַׁב שָׁ֖ם עַד־עוֹלָֽם׃
אָבער חנה איז ניט אַרױפֿגעגאַנגען. װאָרום זי האָט געזאָגט צו איר מאַן: ביז דער ייִנגל װעט אַנטװײנט װערן; דענצמאָל װעל איך אים ברענגען און ער װעט זיך װײַזן פֿאַר גאָט, און װעט דאָרטן בלײַבן אױף שטענדיק.
Rashi
When [the boy] will be weaned. At the end of twenty-two (other versions, twenty-four) months, for that is the period for a child to nurse.
Radak
Until the boy will be weaned: Until the end of his nursing, and that is the twenty-four months that an infant nurses. And even though they were obligated to bring him [to Shiloh] on account of, "every male shall appear" (Exodus 23:17) - our Rabbis, may their memory be blessed, said it was because she saw that he was pampered and weak, so she was concerned lest he fall sick because of the travel.
Rashi
And shall remain there forever. Forever in the Levitic sense,33It can also refer to the fifty year period of Yoveil. i.e., fifty years as it is said, "from the age of fifty he shall retire from the work force."34Bamidbar 8:25. Figuring as follows, we determine that Shmuel's lifetime was fifty-two years: Eili judged Yisroel for forty years.35I Shmuel 4:18. On the day of Chana's prayer he was appointed judge.36Above verse 9. By subtracting the year in which Chana conceived Shmuel, there remain thirty-nine years. Shmuel governed Yisroel from the time of Eili's death for thirteen years, as follows: On the day of Eili's death, the Ark was captured, and it remained in the land of the Philistines for seven months.37Below 6:1. From there, it was brought to and remained in Kiryas Yearim until Dovid brought it up after he had reigned seven years in Chevron over Yehudah, and all of Yisroel had accepted him as their king. And it is written, "From the day the Ark came to rest in Kiryas Yearim, there ensued many days, and they became twenty years."38I Shmuel 7:2. Subtracting from them seven years which Dovid reigned in Chevron discloses that from the time the Ark was captured until Shaul's death, were thirteen years and seven months; and Shmuel died four months before Shaul.